/*    */ package com.qmsk.business.member.questionnaire.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ import org.springframework.stereotype.Repository;
/*    */ 
/*    */ @Repository
/*    */ public class ReturnDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst findreturnList(Map<String, Object> params, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 17 */     return getGsonOfParams("returnList", params, nPageIdx, nPageSize, 
/* 18 */       false);
/*    */   }
/*    */ 
/*    */   public boolean checkReturnUnique(Long questionId, String mp)
/*    */     throws SQLException
/*    */   {
/* 31 */     Map params = new HashMap();
/* 32 */     params.put("questionId", questionId);
/* 33 */     params.put("mp", mp);
/* 34 */     return queryForBoolean("checkReturnUnique", params, Boolean.valueOf(false)).booleanValue();
/*    */   }
/*    */ 
/*    */   public boolean checkSubmitUnique(String openId, Long questionnaireId) throws SQLException
/*    */   {
/* 39 */     Map params = new HashMap();
/* 40 */     params.put("questionnaireId", questionnaireId);
/* 41 */     params.put("openId", openId);
/* 42 */     return queryForBoolean("checksubmitunique", params, Boolean.valueOf(false)).booleanValue();
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.member.questionnaire.dao.ReturnDAO
 * JD-Core Version:    0.5.3
 */